<%@ page contentType="text/html; charset=utf-8" %>

<%@ include file="/WEB-INF/jsp/includeTop.jsp" %>

<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">

<div class="loginWrapper">
	<form action="<c:url value='/j_spring_security_check' />" method="post" class="loginForm">
		<ul>
			<li>
			  <input type="text" class="txtbox" name="j_username" value="">
			</li>
			<li>
			  <input type="password" class="txtbox" name="j_password" value="">
			</li>
			<li>
			  <input type="submit" class="btnStyle" value=" 登录 ">
			</li>
		</ul>
		<div class="msgText">&nbsp;${error}</div>
	</form>
</div>

<script>
	try{
		var c=$(parent.document).children()[0];
		if(!$(c).find('#parentPage')[0]){
			parent.parent.location="<c:url value='/auth/login.html' />";
		}
	}catch(e){}
</script>